tools/libxl: introduce libxl_get_online_socketmap
authorChao Peng <chao.p.peng@linux.intel.com>
Tue, 29 Sep 2015 07:49:50 +0000 (15:49 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 29 Sep 2015 09:53:17 +0000 (10:53 +0100)
commitd0596394462484a277330b2e43f0b46efb815452
treeaa3d448629f85b213329a55c330f6bede7cd395c
parent32f511afd2f69edd2ae1d55588ea50ebe8ece9ea
tools/libxl: introduce libxl_get_online_socketmap

It sets the bit on the given bitmap if the corresponding socket is
available and clears the bit when the corresponding socket is not
available.

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h